package com.guigu.base.service;

import com.guigu.base.entity.TruckDriverLicense;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 司机驾驶证表 服务类
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-08
 */
public interface TruckDriverLicenseService extends IService<TruckDriverLicense> {
    /**
     * 保存司机驾驶证信息
     *
     * @param pdTruckDriverLicense 司机驾驶证信息
     * @return 司机驾驶证信息
     */
    TruckDriverLicense saveTruckDriverLicense(TruckDriverLicense pdTruckDriverLicense);

    /**
     * 获取司机驾驶证信息
     *
     * @param userId 司机id
     * @return 司机驾驶证信息
     */
    TruckDriverLicense findOne(String userId);
}
